package lp.xian.materials.service;

import java.util.List;
import lp.xian.materials.domain.PurchaseTable;

/**
 * 采购订单数据Service接口
 *
 * @author ruoyi
 * @date 2023-08-06
 */
public interface IPurchaseTableService
{
    /**
     * 查询采购订单数据
     *
     * @param purchaseTableId 采购订单数据主键
     * @return 采购订单数据
     */
    public PurchaseTable selectPurchaseTableByPurchaseTableId(Integer purchaseTableId);

    /**
     * 查询采购订单数据列表
     *
     * @param purchaseTable 采购订单数据
     * @return 采购订单数据集合
     */
    public List<PurchaseTable> selectPurchaseTableList(PurchaseTable purchaseTable);

    /**
     * 新增采购订单数据
     *
     * @param purchaseTable 采购订单数据
     * @return 结果
     */
    public int insertPurchaseTable(PurchaseTable purchaseTable);

    /**
     * 修改采购订单数据
     *
     * @param purchaseTable 采购订单数据
     * @return 结果
     */
    public int updatePurchaseTable(PurchaseTable purchaseTable);

    /**
     * 批量删除采购订单数据
     *
     * @param purchaseTableIds 需要删除的采购订单数据主键集合
     * @return 结果
     */
    public int deletePurchaseTableByPurchaseTableIds(Integer[] purchaseTableIds);

    /**
     * 删除采购订单数据信息
     *
     * @param purchaseTableId 采购订单数据主键
     * @return 结果
     */
    public int deletePurchaseTableByPurchaseTableId(Integer purchaseTableId);
}
